package com.home.model.dto;



import java.io.Serializable;

import com.home.model.entity.Account;
import com.home.model.entity.Agent;

public class AccountDto implements Serializable{
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	private int idAccount;
	private AgentDto agentDto;
	private String username;
	private String password;
	
	
	public AccountDto() {
		super();
	}
	
	public AccountDto(Account acc) {
		super();
		this.idAccount = acc.getIdAccount();
		this.username = acc.getUsername();
		this.password = acc.getPassword();
	}

	public AccountDto(int idAccount, Agent agent, String username,
			String password) {
		super();
		this.idAccount = idAccount;
		this.username = username;
		this.password = password;
	}

	public int getIdAccount() {
		return idAccount;
	}

	public void setIdAccount(int idAccount) {
		this.idAccount = idAccount;
	}

	public AgentDto getAgent() {
		return agentDto;
	}

	public void setAgent(AgentDto agentDto) {
		this.agentDto = agentDto;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}
	
	
}
